package com.liu.mysqldemo.entity;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.io.Serializable;

@Data
@Entity
public class Grade implements Serializable {

    @Id
    private int id;
    private String name;
    private long createtime;
    private int state;
}
